Array::contains = (obj) ->
    for item in this
        if item == obj
            return true;
    return false;

Array::remove = (obj) ->
    (item for item in @ when item isnt obj)

Array::indexOf = (obj) ->
	for i in [0..this.length]
		if this[i] == obj
			return i
	return -1

Array::map = (func) ->
	(func(item) for item in this) 

